import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useChannelStore = defineStore('channel', () => {
  const channel = ref(0)

  const changeChannel = (newId: number) => {
    channel.value = newId
  }

  return { channel, changeChannel }
})
